﻿<%@ Page Title="序列号管理-首家汽车行业人才测评系统" Language="C#" MasterPageFile="~/Enterprise/SiteEnterprise.Master"
    AutoEventWireup="true" CodeBehind="ManageGuid.aspx.cs" Inherits="EvaluationSystem.ManageGuid" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        请选择测评项目:<asp:DropDownList runat="server" ID="ddlActivity" Width="200px" 
            AutoPostBack="true" onselectedindexchanged="ddlActivity_SelectedIndexChanged">
        </asp:DropDownList>
        <span style="color:#FF6600">温馨提示：请将序列号分发给参加测评的人员，并通知他们登录http://answer.kingmas.com.cn/进行答题</span></p>
    <asp:GridView ID="grVGuidManage" runat="server" AutoGenerateColumns="False"
        CellPadding="4" DataKeyNames="activity_id" ForeColor="#333333" GridLines="None"
        Width="100%" HorizontalAlign="Center">
        <FooterStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:TemplateField HeaderText="选择" Visible="false">
                <ItemTemplate>
                    <asp:CheckBox ID="CB_Select" runat="server" AutoPostBack="false" />
                </ItemTemplate>
                <ItemStyle Width="5%" />
            </asp:TemplateField>
            <asp:BoundField DataField="guid_str" HeaderText="序列号" ReadOnly="True" SortExpression="guid_str"
                Visible="true">
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" 
                Wrap="False" />
            </asp:BoundField>
            <asp:BoundField DataField="tester_name" HeaderText="使用者" SortExpression="tester_name"
                Visible="true" />
            <asp:BoundField DataField="tester_email" HeaderText="邮箱" SortExpression="tester_email"
                Visible="true" />
            <asp:BoundField DataField="guid_status" HeaderText="状态" ReadOnly="true" SortExpression="guid_status"
                Visible="true" />
            <asp:BoundField DataField="create_time" HeaderText="生成日期" ReadOnly="true" SortExpression="create_time"
                Visible="true" />
            <asp:BoundField DataField="tester_teststarttime" HeaderText="使用日期" ReadOnly="true"
                SortExpression="tester_teststarttime" Visible="true" />
        </Columns>
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" 
            VerticalAlign="Middle" Height="30px" />
        <EmptyDataTemplate>
            您好！当前项目没有序列号，请与劲马奥通联系。
        </EmptyDataTemplate>
        <EditRowStyle BackColor="#999999" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White"/>
    </asp:GridView>
    <asp:Button ID="btnExportSn" runat="server"  Text="导出Excel" 
        onclick="btnExportSn_Click"/>
</asp:Content>
